#ifndef C_QICONVIEW_H
#define C_QICONVIEW_H

/****************************************************************************
** QIconDragItem C bindings generated from reading C++ file 'qiconview.h'
**
** Created: Tue Jul 30 19:22:28 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QIconDragItemH QIconDragItem_create();
C_EXPORT void QIconDragItem_destroy(QIconDragItemH handle);
C_EXPORT void QIconDragItem_data(QIconDragItemH handle, QByteArrayH retval);
C_EXPORT void QIconDragItem_setData(QIconDragItemH handle, const QByteArrayH d);
C_EXPORT QIconDragH QIconDrag_create(QWidgetH dragSource, const char* name);
C_EXPORT void QIconDrag_destroy(QIconDragH handle);
C_EXPORT void QIconDrag_append(QIconDragH handle, const QIconDragItemH item, PRect pr, PRect tr);
C_EXPORT const char* QIconDrag_format(QIconDragH handle, int i);
C_EXPORT bool QIconDrag_canDecode(QMimeSourceH e);
C_EXPORT void QIconDrag_encodedData(QIconDragH handle, QByteArrayH retval, const char* mime);
C_EXPORT QIconViewItemH QIconViewItem_create(QIconViewH parent);
C_EXPORT void QIconViewItem_destroy(QIconViewItemH handle);
C_EXPORT QIconViewItemH QIconViewItem_create2(QIconViewH parent, QIconViewItemH after);
C_EXPORT QIconViewItemH QIconViewItem_create3(QIconViewH parent, PWideString text);
C_EXPORT QIconViewItemH QIconViewItem_create4(QIconViewH parent, QIconViewItemH after, PWideString text);
C_EXPORT QIconViewItemH QIconViewItem_create5(QIconViewH parent, PWideString text, const QPixmapH icon);
C_EXPORT QIconViewItemH QIconViewItem_create6(QIconViewH parent, QIconViewItemH after, PWideString text, const QPixmapH icon);
C_EXPORT void QIconViewItem_setRenameEnabled(QIconViewItemH handle, bool allow);
C_EXPORT void QIconViewItem_setDragEnabled(QIconViewItemH handle, bool allow);
C_EXPORT void QIconViewItem_setDropEnabled(QIconViewItemH handle, bool allow);
C_EXPORT void QIconViewItem_text(QIconViewItemH handle, PWideString retval);
C_EXPORT QPixmapH QIconViewItem_pixmap(QIconViewItemH handle);
C_EXPORT void QIconViewItem_key(QIconViewItemH handle, PWideString retval);
C_EXPORT bool QIconViewItem_renameEnabled(QIconViewItemH handle);
C_EXPORT bool QIconViewItem_dragEnabled(QIconViewItemH handle);
C_EXPORT bool QIconViewItem_dropEnabled(QIconViewItemH handle);
C_EXPORT QIconViewH QIconViewItem_iconView(QIconViewItemH handle);
C_EXPORT QIconViewItemH QIconViewItem_prevItem(QIconViewItemH handle);
C_EXPORT QIconViewItemH QIconViewItem_nextItem(QIconViewItemH handle);
C_EXPORT int QIconViewItem_index(QIconViewItemH handle);
C_EXPORT void QIconViewItem_setSelected(QIconViewItemH handle, bool s, bool cb);
C_EXPORT void QIconViewItem_setSelected2(QIconViewItemH handle, bool s);
C_EXPORT void QIconViewItem_setSelectable(QIconViewItemH handle, bool s);
C_EXPORT bool QIconViewItem_isSelected(QIconViewItemH handle);
C_EXPORT bool QIconViewItem_isSelectable(QIconViewItemH handle);
C_EXPORT void QIconViewItem_repaint(QIconViewItemH handle);
C_EXPORT void QIconViewItem_move(QIconViewItemH handle, int x, int y);
C_EXPORT void QIconViewItem_moveBy(QIconViewItemH handle, int dx, int dy);
C_EXPORT void QIconViewItem_move2(QIconViewItemH handle, const QPointH pnt);
C_EXPORT void QIconViewItem_moveBy2(QIconViewItemH handle, const QPointH pnt);
C_EXPORT void QIconViewItem_rect(QIconViewItemH handle, PRect retval);
C_EXPORT int QIconViewItem_x(QIconViewItemH handle);
C_EXPORT int QIconViewItem_y(QIconViewItemH handle);
C_EXPORT int QIconViewItem_width(QIconViewItemH handle);
C_EXPORT int QIconViewItem_height(QIconViewItemH handle);
C_EXPORT void QIconViewItem_size(QIconViewItemH handle, PSize retval);
C_EXPORT void QIconViewItem_pos(QIconViewItemH handle, PPoint retval);
C_EXPORT void QIconViewItem_textRect(QIconViewItemH handle, PRect retval, bool relative);
C_EXPORT void QIconViewItem_pixmapRect(QIconViewItemH handle, PRect retval, bool relative);
C_EXPORT bool QIconViewItem_contains(QIconViewItemH handle, PPoint pnt);
C_EXPORT bool QIconViewItem_intersects(QIconViewItemH handle, PRect r);
C_EXPORT bool QIconViewItem_acceptDrop(QIconViewItemH handle, const QMimeSourceH mime);
C_EXPORT void QIconViewItem_rename(QIconViewItemH handle);
C_EXPORT int QIconViewItem_compare(QIconViewItemH handle, QIconViewItemH i);
C_EXPORT void QIconViewItem_setText(QIconViewItemH handle, PWideString text);
C_EXPORT void QIconViewItem_setPixmap(QIconViewItemH handle, const QPixmapH icon);
C_EXPORT void QIconViewItem_setText2(QIconViewItemH handle, PWideString text, bool recalc, bool redraw);
C_EXPORT void QIconViewItem_setPixmap2(QIconViewItemH handle, const QPixmapH icon, bool recalc, bool redraw);
C_EXPORT void QIconViewItem_setKey(QIconViewItemH handle, PWideString k);
C_EXPORT QIconViewH QIconView_create(QWidgetH parent, const char* name, WFlags f);
C_EXPORT void QIconView_destroy(QIconViewH handle);
C_EXPORT void QIconView_insertItem(QIconViewH handle, QIconViewItemH item, QIconViewItemH after);
C_EXPORT void QIconView_takeItem(QIconViewH handle, QIconViewItemH item);
C_EXPORT int QIconView_index(QIconViewH handle, const QIconViewItemH item);
C_EXPORT QIconViewItemH QIconView_firstItem(QIconViewH handle);
C_EXPORT QIconViewItemH QIconView_lastItem(QIconViewH handle);
C_EXPORT QIconViewItemH QIconView_currentItem(QIconViewH handle);
C_EXPORT void QIconView_setCurrentItem(QIconViewH handle, QIconViewItemH item);
C_EXPORT void QIconView_setSelected(QIconViewH handle, QIconViewItemH item, bool s, bool cb);
C_EXPORT uint QIconView_count(QIconViewH handle);
C_EXPORT void QIconView_showEvent(QIconViewH handle, QShowEventH p1);
C_EXPORT void QIconView_setSelectionMode(QIconViewH handle, QIconViewSelectionMode m);
C_EXPORT QIconViewSelectionMode QIconView_selectionMode(QIconViewH handle);
C_EXPORT QIconViewItemH QIconView_findItem(QIconViewH handle, const QPointH pos);
C_EXPORT QIconViewItemH QIconView_findItem2(QIconViewH handle, PWideString text);
C_EXPORT void QIconView_selectAll(QIconViewH handle, bool select);
C_EXPORT void QIconView_clearSelection(QIconViewH handle);
C_EXPORT void QIconView_invertSelection(QIconViewH handle);
C_EXPORT void QIconView_repaintItem(QIconViewH handle, QIconViewItemH item);
C_EXPORT void QIconView_ensureItemVisible(QIconViewH handle, QIconViewItemH item);
C_EXPORT QIconViewItemH QIconView_findFirstVisibleItem(QIconViewH handle, PRect r);
C_EXPORT QIconViewItemH QIconView_findLastVisibleItem(QIconViewH handle, PRect r);
C_EXPORT void QIconView_clear(QIconViewH handle);
C_EXPORT void QIconView_setGridX(QIconViewH handle, int rx);
C_EXPORT void QIconView_setGridY(QIconViewH handle, int ry);
C_EXPORT int QIconView_gridX(QIconViewH handle);
C_EXPORT int QIconView_gridY(QIconViewH handle);
C_EXPORT void QIconView_setSpacing(QIconViewH handle, int sp);
C_EXPORT int QIconView_spacing(QIconViewH handle);
C_EXPORT void QIconView_setItemTextPos(QIconViewH handle, QIconViewItemTextPos pos);
C_EXPORT QIconViewItemTextPos QIconView_itemTextPos(QIconViewH handle);
C_EXPORT void QIconView_setItemTextBackground(QIconViewH handle, const QBrushH b);

C_EXPORT void QIconView_setArrangement(QIconViewH handle, QIconViewArrangement am);
C_EXPORT QIconViewArrangement QIconView_arrangement(QIconViewH handle);
C_EXPORT void QIconView_setResizeMode(QIconViewH handle, QIconViewResizeMode am);
C_EXPORT QIconViewResizeMode QIconView_resizeMode(QIconViewH handle);
C_EXPORT void QIconView_setMaxItemWidth(QIconViewH handle, int w);
C_EXPORT int QIconView_maxItemWidth(QIconViewH handle);
C_EXPORT void QIconView_setMaxItemTextLength(QIconViewH handle, int w);
C_EXPORT int QIconView_maxItemTextLength(QIconViewH handle);
C_EXPORT void QIconView_setAutoArrange(QIconViewH handle, bool b);
C_EXPORT bool QIconView_autoArrange(QIconViewH handle);
C_EXPORT void QIconView_setShowToolTips(QIconViewH handle, bool b);
C_EXPORT bool QIconView_showToolTips(QIconViewH handle);
C_EXPORT void QIconView_setSorting(QIconViewH handle, bool sort, bool ascending);
C_EXPORT bool QIconView_sorting(QIconViewH handle);
C_EXPORT bool QIconView_sortDirection(QIconViewH handle);
C_EXPORT void QIconView_setItemsMovable(QIconViewH handle, bool b);
C_EXPORT bool QIconView_itemsMovable(QIconViewH handle);
C_EXPORT void QIconView_setWordWrapIconText(QIconViewH handle, bool b);
C_EXPORT bool QIconView_wordWrapIconText(QIconViewH handle);
C_EXPORT bool QIconView_eventFilter(QIconViewH handle, QObjectH o, QEventH p2);
C_EXPORT void QIconView_minimumSizeHint(QIconViewH handle, PSize retval);
C_EXPORT void QIconView_sizePolicy(QIconViewH handle, PSizePolicy retval);
C_EXPORT void QIconView_sizeHint(QIconViewH handle, PSize retval);
C_EXPORT void QIconView_sort(QIconViewH handle, bool ascending);
C_EXPORT void QIconView_setFont(QIconViewH handle, const QFontH p1);
C_EXPORT void QIconView_setPalette(QIconViewH handle, const QPaletteH p1);
C_EXPORT void QIconView_arrangeItemsInGrid(QIconViewH handle, const QSizeH grid, bool update);
C_EXPORT void QIconView_arrangeItemsInGrid2(QIconViewH handle, bool update);
C_EXPORT void QIconView_setContentsPos(QIconViewH handle, int x, int y);
C_EXPORT void QIconView_updateContents(QIconViewH handle);

#endif
